package top.raoqq.sky.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import top.raoqq.sky.entity.sql.Role;


import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @author 饶奇奇
 * @date 2023/8/14
 */
public interface RoleService extends IService<Role> {
    List<Map<String, Object>> listRoleId();

    void listRolePageCondition(Page<Role> page, String roleName, String roleKey, LocalDate startTime, LocalDate endTime);

    void checkSaveOrUpdateArguments(Role role);

    void saveOrUpdateRole(Role role);

    void unBindMenu(Long roleId);
}
